home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / What's New? / Development Kits / Mac OS / USB DDK 1.4.6f4 / Examples / PrinterClassDriver / PrintChooserSample / ChooserPACK.cp < prev    next >
Encoding:
Text File  |  2000-09-25  |  845 b   |  37 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ChooserPACK.cp
  3.  
  4.     Contains:    Implementation of the Chooser's PACK jump table.
  5.  
  6.  
  7.  
  8.     Copyright:    © 1991-1997, 2000 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Writers:
  11.  
  12.         (gc)    Garth Cummings
  13.  
  14.     Change History (most recent first):
  15.  
  16.       <USB1>     5/11/00    gc        first checked in
  17.         18 Mar 98     gp        Added
  18.  
  19.     To Do:
  20. */
  21.  
  22. #include "Chooser.h"
  23.  
  24. /**************************************************************************************
  25.     Note:    Main must get linked at the very beginning of the first file because
  26.             the jump table must be the first entry in the PACK resource. This
  27.             means that no headers that contain linked routines (eg, inlines)
  28.             can be included before this routine.
  29.  **************************************************************************************/
  30. asm void main(void);
  31. asm void main(void)
  32. {
  33.         // Jump Table
  34.         jmp        Chooser
  35. };
  36.  
  37.